@mixin flex-row {
  display: flex;
  flex-direction: row;
}

.container {
  height: 100vh;
  background: url('https://static3.jekunauto.com/img/distribution/redpacket/bg.png');
  background-size: 100% 100%;

  .bottom-box {
    width: 100%;
    height: 426px;
    background: url('https://static3.jekunauto.com/img/distribution/redpacket/chose_status.png');
    background-size: 100% 100%;
    box-sizing: border-box;
    position: fixed;
    bottom: 0px;
    left: 0;
  }

  .bottom-box__open {
    width: 100%;
    height: 541px;
    background: url('https://static3.jekunauto.com/img/distribution/redpacket/open_status.png');
    background-size: 100% 100%;
  }

  .bottom-txt {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 48px;
    margin-top: 90px;
  }

  .open-txt {
    font-size: 32px;
    font-weight: 500;
    color: #E0251A;
    text-align: center;
    margin-top: 150px;
  }

  .big {
    font-size: 80px;
  }

  .btn-warp {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
  }

  .bottom-btn {
    width: 194px;
    height: 194px;
    background: url('https://static3.jekunauto.com/img/distribution/redpacket/open.png');
    background-size: 100% 100%;
  }

  .open-status {
    background: url('https://static3.jekunauto.com/img/distribution/redpacket/open_2.gif');
    background-size: 100% 100%;
  }

  .light {
    width: 100%;
    height: 759px;
    background: url('https://static3.jekunauto.com/img/distribution/redpacket/light.png');
    background-size: 100% 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
  }

  .trans {
    transition: all 0.1s ease;
    transform-origin: center bottom;
  }

  @keyframes scale {
    0% {
      transform: scale(0);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes top {
    0% {
      bottom: -541px;
    }

    100% {
      bottom: 0;
    }
  }

  .scale {
    animation: scale 0.1s linear;
  }

  .top {
    animation: top 0.2s linear;
  }

  .use-btn {
    width: 282px;
    height: 102px;
    background: url('https://static3.jekunauto.com/img/distribution/redpacket/use_btn.png');
    background-size: 100% 100%;
    margin-top: 28px;
  }

  .dialog-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 10;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    justify-content: center;
  }

  .dialog-bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 5;
    bottom: 0;
  }

  .dialog-mask {
    background: #fff;
    width: 580px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px 0;
    position: relative;
    z-index: 10;
  }

  .dialog-tips {
    padding: 0;
    font-size: 30px;
    margin-bottom: 20px;
    color: #666;
  }

  .open-btn {
    width: 300px;
    height: 80px;
    background: #12b3ff;
    opacity: 1;
    border-radius: 10px;
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
